<html xmlns="http://www.w3.org/1999/xhtml" xmlns:c="http://java.sun.com/jstl/core"
      xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:t="http://myfaces.apache.org/tomahawk"
      xmlns:v="http://corejsf.com/validator">

<f:view>
<f:loadBundle var="text" basename="#{pddfForm.bundleName}"/>
    <head>
        <title>#{text['pddfDetail.title']}</title>
        <meta name="heading" content="#{text['pddfDetail.heading']}"/>
        <style type="text/css">
            .jscalendar-DB-div-style {
                position: absolute;
                margin-top: -120px;
                margin-left: -508px;
            }
    </style>
    </head>
<body id="pddfForm">

<h:form id="pddfForm" onsubmit="return validatePddfForm(this)">

<h:inputHidden value="#{pddfForm.pddf.id}" id="id"/>
<h:inputHidden value="#{pddfForm.pddf.version}" id="version"/>

<h:panelGrid columns="6">
   
    <h:outputLabel styleClass="desc" for="cpdf" value="#{text['pddf.cpdf']}"/>
    <t:message for="cpdf" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="cpdf" value="#{pddfForm.pddf.cpdf}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="cpz" value="#{text['pddf.cpz']}"/>
    <t:message for="cpz" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="cpz" value="#{pddfForm.pddf.cpz}" required="false" maxlength="255">
    </h:inputText>
   
   
   
    <h:outputLabel styleClass="desc" for="sm" value="#{text['pddf.sm']}"/>
    <t:message for="sm" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="sm" value="#{pddfForm.pddf.sm}" required="false" maxlength="200">
    </h:inputText>
   

</h:panelGrid>
 <h:panelGroup styleClass="buttonBar bottom">
        <h:commandButton value="#{text['button.save']}" action="#{pddfForm.save}" id="save" styleClass="button"/>

        <c:if test="${not empty pddfForm.pddf.id}">
        <h:commandButton value="#{text['button.delete']}" action="#{pddfForm.delete}"
            id="delete" styleClass="button" onclick="bCancel=true; return confirmDelete('Pddf')"/>
        </c:if>

        <h:commandButton value="#{text['button.cancel']}" action="cancel" immediate="true"
            id="cancel" styleClass="button" onclick="bCancel=true"/>
    </h:panelGroup>
</h:form>

<v:validatorScript functionName="validatePddfForm"/>

<script type="text/javascript">
    //Form.focusFirstElement($('pddfForm'));
    highlightFormElements();
</script>

</body>
</f:view>
</html><!--


 <h:outputLabel styleClass="desc" for="operation" value="#{text['pddf.operation']}"/>
    <t:message for="operation" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="operation" value="#{pddfForm.pddf.operation}" required="false" maxlength="20">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="optdate" value="#{text['pddf.optdate']}"/>
    <t:message for="optdate" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="optdate" value="#{pddfForm.pddf.optdate}" required="false" maxlength="23">
    </h:inputText>
 <h:selectOneMenu value="#{pddfForm.pddf.jbqk}" id="jbqk" required="false" styleClass="select">
        <f:selectItems value="#{pddfForm.pddf.jbqk}"/>
    </h:selectOneMenu>

 <h:selectOneMenu value="#{pddfForm.pddf.pdxm}" id="pdxm" required="false" styleClass="select">
        <f:selectItems value="#{pddfForm.pddf.pdxm}"/>
    </h:selectOneMenu>
 <h:outputLabel styleClass="desc" for="username" value="#{text['pddf.username']}"/>
    <t:message for="username" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="username" value="#{pddfForm.pddf.username}" required="false" maxlength="50">
    </h:inputText>
 <h:outputLabel styleClass="desc" for="id" value="#{text['pddf.id']}"/>
    <h:inputText styleClass="text medium" id="id" value="#{pddfForm.pddf.id}" required="true">
        <v:commonsValidator type="required" arg="#{text['pddf.id']}"/>
    </h:inputText>
    <t:message for="id" styleClass="fieldError"/>
-->